package cn.edu.ctbu.mapper;

import cn.edu.ctbu.entity.UserEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;



@Mapper
public interface UserMapper extends BaseMapper<UserEntity> {

    public UserEntity login(@Param("username") String username,
                            @Param("password") String password);
}
